home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’96 / PredatorPrey / Scrolling.h < prev    next >
Text File  |  1996-06-22  |  490b  |  21 lines

  1. /* Scrolling.h */
  2.  
  3. #ifndef __SC__
  4. #define __SC__
  5.  
  6. #define sBarWidth          16                                 
  7.  
  8. typedef pascal void (*ScrollProcPtr) (short        newValue,
  9.                                       short        oldValue);
  10.  
  11. /*----------*/
  12. void    ScrollingSeg        (void);
  13. void    ResizeScrollBars    (void);
  14. void    DoScrollPart        (ControlHandle    whichScroll,
  15.                              short            partCode);
  16. void    TrackScroll            (ControlHandle    whichScroll,
  17.                              short            partCode,
  18.                              Point            where,
  19.                              ScrollProcPtr    actionProc);
  20.  
  21. #endif    /*    __SC__    */